#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
int main()
{
	int arr[] = { 1, 2, 3,4,5 };
	int* p = arr;
	if (p < arr + 2)
	{
		printf("%d\n", *p);
	}
	else
	{
		printf("%d\n", *(arr + 2));
	}

	return 0;
}